Skip to content

node: Use node name as PG application_name if PGAPPNAME is not set#6445

Merged
lutter merged 1 commit intomasterfrom
lutter/app-name
Mar 23, 2026
Merged

node: Use node name as PG application_name if PGAPPNAME is not set#6445
lutter merged 1 commit intomasterfrom
lutter/app-name

Conversation

@lutter
Copy link
Collaborator

@lutter lutter commented Mar 20, 2026

Setting the application_name makes it a lot easier to identify which graph-node instance is holding a connection. Since a lot of users don't set PGAPPNAME, we use the graph-node name as the default.

Setting the application_name makes it a lot easier to identify which
graph-node instance is holding a connection. Since a lot of users don't set
PGAPPNAME, we use the graph-node name as the default.
@lutter lutter merged commit 37acb91 into master Mar 23, 2026
6 checks passed
@lutter lutter deleted the lutter/app-name branch March 23, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants